﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PassProducts.aspx.cs" Inherits="CoolCode.Web.UI.Views.Inquiry.PassProducts"
    Theme="Default" %>

<%@ Register Src="~/Controls/ProductStatusFilter.ascx" TagName="ProductStatusFilter"  TagPrefix="uc" %>
<%@ Register Src="~/Controls/ExcelExporter.ascx" TagName="ExcelExporter"   TagPrefix="uc" %>
<%@ Register Src="~/Controls/ProductList.ascx" TagName="ProductList" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ProductSummary.ascx" TagName="ProductSummary" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>合格品查询</title>
</head>
<body>
    <form id="form1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="tsmAjax" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Content/js/Common.js" />
        </Scripts>
    </ajaxToolkit:ToolkitScriptManager>
    <cc:Loading ID="Loading1" runat="server"></cc:Loading>
    <!--Title -->
    <div class="HeaderTitle">
        <asp:Label ID="SCRHDR" runat="server" Text="合格品查询"></asp:Label>
    </div>
    <asp:Panel ID="pnlMaster" runat="server" CssClass="HeaderSearch">
        <uc:ProductStatusFilter runat="server" ID="productFilter" />
    </asp:Panel>
    <!--Grid-->
    <asp:UpdatePanel ID="udpHeader" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
        <ContentTemplate>
            <div class="HeaderToolbar">
                <asp:LinkButton ID="lnkSearch" runat="server" CausesValidation="False" Text="搜索" />
                &nbsp; <a href="#" onclick="refresh();">刷新</a>&nbsp;
                <uc:ExcelExporter ID="exporter" runat="server"/>&nbsp;
            </div>
            <uc:ProductList ID="productList" runat="server" />
            <div style="clear: both;">
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdatePanel ID="udpSummary" runat="server" UpdateMode="Conditional" >
        <ContentTemplate>
            <uc:ProductSummary ID="productSummary" runat="server" />
            <div style="clear: both;">
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
